package com.nondo.dean.platform.model;

import com.nondo.dean.common.tool.BeanUtils;
import com.nondo.dean.platform.domain.Zone;

public class ZoneBean {
    private Integer id; // 区域ID
    private String name; // 区域名称

    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }

    public static ZoneBean covertToBean(Zone zone) {
        ZoneBean zoneBean = new ZoneBean();
        BeanUtils.copy(zone, zoneBean);
        return zoneBean;
    }
    
    
}
